package com.wisecoach.gatewayplus.transaction.lockedtx;

import com.wisecoach.gatewayplus.transaction.SubmitTxContext;
import org.hyperledger.fabric.client.Transaction;

/**
 * {@code @author:} wisecoach
 * {@code @date:} 2023/9/26 下午8:09
 * {@code @version:} 1.0.0
 */
public class LockedTxContext extends SubmitTxContext {

    private TxRWSet rwSet;

    public LockedTxContext(Transaction transaction, TxRWSet rwSet) {
        super(transaction);
        this.rwSet = rwSet;
    }

    public TxRWSet getRwSet() {
        return rwSet;
    }

    public void setRwSet(TxRWSet rwSet) {
        this.rwSet = rwSet;
    }
}
